package model.credit;

/**
 * Applycustomrelation entity. @author MyEclipse Persistence Tools
 */

public class Applycustomrelation implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer applyid;
	private Integer clientid;
	private Integer clienttype;
	private Integer relationtype;
	private Integer relationpeopleid;
	private Integer relationpeopletype;
	private Integer thingsid;
	private String state;
	private String remark;

	// Constructors

	/** default constructor */
	public Applycustomrelation() {
	}

	/** minimal constructor */
	public Applycustomrelation(Integer applyid, Integer clientid,
			Integer clienttype, Integer relationtype, Integer relationpeopletype) {
		this.applyid = applyid;
		this.clientid = clientid;
		this.clienttype = clienttype;
		this.relationtype = relationtype;
		this.relationpeopletype = relationpeopletype;
	}

	/** full constructor */
	public Applycustomrelation(Integer applyid, Integer clientid,
			Integer clienttype, Integer relationtype, Integer relationpeopleid,
			Integer relationpeopletype, Integer thingsid, String state,
			String remark) {
		this.applyid = applyid;
		this.clientid = clientid;
		this.clienttype = clienttype;
		this.relationtype = relationtype;
		this.relationpeopleid = relationpeopleid;
		this.relationpeopletype = relationpeopletype;
		this.thingsid = thingsid;
		this.state = state;
		this.remark = remark;
	}

	
	public Applycustomrelation(Integer applyid, Integer clientid,
			Integer clienttype, Integer relationtype, Integer relationpeopleid,
			Integer relationpeopletype, Integer thingsid) {
		super();
		this.applyid = applyid;
		this.clientid = clientid;
		this.clienttype = clienttype;
		this.relationtype = relationtype;
		this.relationpeopleid = relationpeopleid;
		this.relationpeopletype = relationpeopletype;
		this.thingsid = thingsid;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getApplyid() {
		return this.applyid;
	}

	public void setApplyid(Integer applyid) {
		this.applyid = applyid;
	}

	public Integer getClientid() {
		return this.clientid;
	}

	public void setClientid(Integer clientid) {
		this.clientid = clientid;
	}

	public Integer getClienttype() {
		return this.clienttype;
	}

	public void setClienttype(Integer clienttype) {
		this.clienttype = clienttype;
	}

	public Integer getRelationtype() {
		return this.relationtype;
	}

	public void setRelationtype(Integer relationtype) {
		this.relationtype = relationtype;
	}

	public Integer getRelationpeopleid() {
		return this.relationpeopleid;
	}

	public void setRelationpeopleid(Integer relationpeopleid) {
		this.relationpeopleid = relationpeopleid;
	}

	public Integer getRelationpeopletype() {
		return this.relationpeopletype;
	}

	public void setRelationpeopletype(Integer relationpeopletype) {
		this.relationpeopletype = relationpeopletype;
	}

	public Integer getThingsid() {
		return this.thingsid;
	}

	public void setThingsid(Integer thingsid) {
		this.thingsid = thingsid;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return "Applycustomrelation [id=" + id + ", applyid=" + applyid
				+ ", clientid=" + clientid + ", clienttype=" + clienttype
				+ ", relationtype=" + relationtype + ", relationpeopleid="
				+ relationpeopleid + ", relationpeopletype="
				+ relationpeopletype + ", thingsid=" + thingsid + ", state="
				+ state + ", remark=" + remark + "]";
	}

}